package com.example.shardingdemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.shardingdemo.entity.User;

import java.util.List;

/**
 * @description:
 * @author: 奕仁
 * @date: created in 2020-12-14 22:53
 * @version: v1.0
 */
public interface UserService extends IService<User> {
    /**
     * 保存用户信息
     * @param entity
     * @return
     */
    @Override
    boolean save(User entity);

    /**
     * 查询全部用户信息
     * @return
     */
    List<User> getUserList();


}
